package com.example.vueAPI.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
    
/**
 * <p>
 * 
 * </p>
 *
 * @author myk
 *
 */
@Getter
@Setter
    @Schema(description = "User对象")
public class User implements Serializable {

private static final long serialVersionUID = 1L;

                                        @TableId(value = "id", type = IdType.AUTO)
                                    private Integer id;

                            private String userName;

                            private String password;

                            private Integer phone;

                            private String eMail;

                            private Integer roleId;

                            private LocalDateTime createTime;

                            private LocalDateTime updateTime;


        }
